# include <stdio.h>
int main ()
{
   float a[10],sum=0;
   int i;
   for(i=0;i<10;i++)
   {scanf("%f",&a[i]);
   sum+=1/a[i];}
       
   printf("%f\n",sum);


   return 0;

}